import request from '../util/request'

const baseUrl = process.env.NODE_ENV === 'production' ? '' : '/vehicleMap'
const Ceshi = process.env.NODE_ENV === 'production' ? '' : '/Ceshi'

export function loadLcredepositrequestApi(params){
    return request({
      url:baseUrl+"/lcredepositrequest/getInfo",
      method:"get",
      params:params
    })
}
export function loadAbnormalOrderApi(params){
  return request({
    url:baseUrl+"/lcchargerlog/list",
    method:"get",
    params:params
  })
}

export function procRefundApi(id,status){
  return request({
    url:baseUrl+"/lcredepositrequest/procRefund",
    method:"get",
    params:{
        id:id,
        status:status
    }
  })
}

export function setlockApi(editdata) {
    const data = editdata
    return request({
      url:baseUrl+'/lcchargerlog/procExceptOrder',
      method: 'put',
      data: data
    })
  }

  export function lcoccfeeprocApi(editdata) {
    const data = editdata
    return request({
      url:baseUrl+'/lcoccfeeproc',
      method: 'post',
      data: data
    })
  }

  export function lcoccfeeprocrefundApi(params) {
    return request({
      url:baseUrl+'/lcoccfeeproc/refund',
      method: 'get',
      params:params
    })
  }

  export function lcfaultprocApi(editdata) {
    const data = editdata
    return request({
      url:baseUrl+'/lcfaultproc',
      method: 'post',
      data: data
    })
  }


  

  export function loadAbnormalListApi(params){
    return request({
      url:Ceshi+"/lcchargerlog/listNoLeave",
      method:"get",
      params:params
    })
  }

  export function loadAbnormalListlistHangup(params){
    return request({
      url:baseUrl+"/lcchargerlog/listHangup",
      method:"get",
      params:params
    })
  }


  
  

  export function loadLcuserwalletApi(params){
    return request({
      url:baseUrl+"/lcuserwallet/wx2",
      method:"get",
      params:params
    })
  }


  export function loadlistApi(params){
    return request({
      url:baseUrl+"/lcexceptorder/list",
      method:"get",
      params:params
    })
  }
  

  export function loadAbnormalCheckApi(params){
    return request({
      url:baseUrl+"/lcuserwallet/checkMoneyByOpenid",
      method:"get",
      params:params
    })
  }
  
  export function loadAbnormalUpdateApi(params){
    return request({
      url:baseUrl+"/lcuserwallet/updateWallet",
      method:"get",
      params:params
    })
  }
  

  export function  loadProcessOrderApi(params){
    return request({
      url:baseUrl+"/lcchargerlog/compareExceptOrder",
      method:"get",
      params:params
    })
  }

  export function  hangUpExceptOrderApi(params){
    return request({
      url:baseUrl+"/lcchargerlog/hangUpExceptOrder",
      method:"put",
      params:params
    })
  }

  export function  lcuserwalletApi(params){
    return request({
      url:baseUrl+"/lcuserwallet/getByPhone",
      method:"get",
      params:params
    })
  }


  export function  lcuserwalletSearchApi(params){
    return request({
      url:baseUrl+"/lcuserwallet/getByPhone",
      method:"get",
      params:params
    })
  }



  export function  OccFeeProcApi(params){
    return request({
      url:baseUrl+"/lcoccfeeproc/countByOpenidLcOccFeeProc",
      method:"get",
      params:params
    })
  }

  


  


 



  
  

  